package com.lab303.powerproject.service;


import com.lab303.powerproject.entity.GraphInfo;

import java.util.List;

public interface GraphInfoService {

    public List<GraphInfo> getAllGraphInfo();

    List<GraphInfo> findGraphInfosByRemark(String remark);

    public GraphInfo addOneGraphInfo(GraphInfo graphInfo);

    public GraphInfo findGraphInfoById(Integer id);

    public GraphInfo saveAndFlush(GraphInfo graphInfo);

    void deleteGraphInfoByGraphId(Integer graphId);

    String updateGraphByXmlString(Integer graphId, String xmlString);

    void deleteAllGraphInfoByGraphId(Integer graphId);
}
